package com.bookstore.service.impl;

import com.bookstore.domain.BookType;
import com.bookstore.mapper.BookTypeMapper;
import com.bookstore.service.BookTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookTypeServiceImpl implements BookTypeService {
    @Autowired
    private BookTypeMapper BookTypeService;
    @Override
    public List<BookType> findAll() {
        return BookTypeService.findAll();
    }

}
